package com.t235.gc.order.service;

import com.t235.gc.dao.GarbageRecyclingOrderDao;
import com.t235.gc.entity.GarbageRecyclingOrder;
import com.t235.gc.vo.RecyclingOrderVo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class RecyclingOrderService {
    @Resource
    private GarbageRecyclingOrderDao garbageRecyclingOrderDao;

    public List<GarbageRecyclingOrder> getList(RecyclingOrderVo vo){
        return garbageRecyclingOrderDao.getList(vo);
    }

    public int getCount(RecyclingOrderVo vo){
        return garbageRecyclingOrderDao.getCount(vo);
    }
}
